var router = [
  {
    path: '/adminHome',
    name: 'adminHome',
    meta: {
      title: '后台首页'
    },
    redirect: '/adminHome/allApi',
    component: resolve => require(['@/views/admin/home'], resolve),
    children: [
      {
        path: 'allApi',
        name: 'allApi',
        meta: {
          name: 'allApi'
        },
        component: resolve => require(['@/views/admin/allApi/allApi'], resolve)
      },
      {
        path: 'allService',
        name: 'allService',
        meta: {
          name: 'allService'
        },
        component: resolve => require(['@/views/admin/allService/index'], resolve)
      }

    ]
  }
]
export default router
